package com.yanqu.road.server.gameplayer.module.cricket.timer;

import com.yanqu.road.server.gameplayer.module.cricket.CricketMgr;
import com.yanqu.road.utils.executor.GeneralTask;

public class CricketGameTaskTimer extends GeneralTask {

    private boolean isRun = false;

    @Override
    public void doRun() {
        if (!isRun) {
            isRun = true;
            try {
                CricketMgr.sendSyncDbBattleLog();
            } catch (Exception e) {
                getLOGGER().error("syncCricketSeasonZoneData error:", e);
            }
            isRun = false;
        }
    }
}
